package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_disperse_push", desc = "散财日志", autoSave = true, uploadCk = true)
public class LogDispersePush extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "散财编号")
    private long disperseId;
    @FieldTypeAnnotation(desc = "散财发起者编号", isIndex = true)
    private long disperseUserId;
    @FieldTypeAnnotation(desc = "散财发起者服务器编号")
    private long disperseServerId;
    @FieldTypeAnnotation(desc = "散财文本")
    private String manifesto;

    public LogDispersePush(long disperseId, long disperseUserId, long disperseServerId, String manifesto) {
        this.disperseId = disperseId;
        this.disperseUserId = disperseUserId;
        this.disperseServerId = disperseServerId;
        this.manifesto = manifesto;
    }

    @Override
    public long getUserId() {
        return disperseUserId;
    }
}
